﻿<UserControl x:Class="ViCode_LeVi.Controls.VMTabBalanceAndOthers_Balance"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:vmcontrol="clr-namespace:ViCode_LeVi.Controls">
    <ScrollViewer>
        
        <StackPanel>
            <DockPanel>
                <StackPanel DockPanel.Dock="Right" Orientation="Horizontal" VerticalAlignment="Top"  HorizontalAlignment="Right" >
                    <vmcontrol:VMTextBlockExt  Margin="2" TextPath="CurrencySymbol_UI" />
                    <vmcontrol:VMTextBox_Number  Margin="2" Text="{Binding CurrencySymbol}"/>
                    <Button Content="Print" Click="Button_Click"/>
                    <Button Content="Print UI" Click="Button_PrintUI_Click"/>
                </StackPanel>
                <Grid >
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="*"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <StackPanel Orientation="Horizontal">
                        <vmcontrol:VMTextBlock_Fincance_Title DockPanel.Dock="Top" TextPath="Step_BalanceAndOthers_Balance_Header" Margin="2"/>
                    </StackPanel>
                    <StackPanel Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Center">
                        <vmcontrol:VMTextBlockExt TextPath="AsPer_UIText" Margin="2"/>
                        <vmcontrol:VMTextBox Text="{Binding AsPer}" Margin="2" MinWidth="100"/>
                    </StackPanel>
                </Grid>
                <!--vmcontrol:VMTextBlock Text="Cockpit BSC" Margin="10" FontWeight="Bold" FontSize="20"/>-->
            </DockPanel>
            <vmcontrol:VMTextBlock_Fincance_Space_Header/>
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="3*"/>
                    <ColumnDefinition Width="Auto"/>
                    <ColumnDefinition Width="3*"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="Auto"/>
                </Grid.ColumnDefinitions>

                <vmcontrol:VMTextBlockExt TextPath="MucTieu_UIText" Margin="2" Grid.Column="0"  HorizontalAlignment="Stretch" />
                <StackPanel  Grid.Column="1" >
                    <vmcontrol:VMTextBlockExt TextPath="TinhHinh_UIText" Margin="2" Grid.Column="1" />
                    <vmcontrol:VMResultOfStep_Child HorizontalAlignment="Left"  VerticalAlignment="Top" CheckAll="True"  VerticalContentAlignment="Center" Background="Transparent" Margin="2" Grid.Column="1" />
                </StackPanel>
                <vmcontrol:VMTextBlockExt TextPath="NhanXet_UIText" Margin="2" Grid.Column="2"  HorizontalAlignment="Stretch" />
                <vmcontrol:VMTextBlockExt TextPath="ChiuTrachNhiem_UIText" Margin="2" Grid.Column="3"  HorizontalAlignment="Stretch" />
                <Button Visibility="Hidden" VerticalAlignment="Top"  OverridesDefaultStyle="True" MinHeight="0" MinWidth="0" Margin="2"  Grid.Column="4"  Name="Button_Remove" >
                    <Button.Content>
                        <Image Source="pack://application:,,,/Images/closex.png" Stretch="Uniform"/>
                    </Button.Content>
                </Button>
            </Grid>
            
            <StackPanel>
                <vmcontrol:VMTextBlockExt TextPath="Step_BalanceAndOthers_Balance_GROUP_KHACHHANG_NAME" Margin="2" FontWeight="Bold"/>
                <StackPanel Name="Panel_KhachHang" Margin="2">

                </StackPanel>
                <StackPanel Margin="2" Orientation="Horizontal" HorizontalAlignment="Right" >
                    <Button Margin="2"  Name="Button_AddNew_KhachHang" >
                        <Button.Content>
                            Add new
                        </Button.Content>
                    </Button>
                </StackPanel>

            </StackPanel>
            
            <StackPanel>
                <vmcontrol:VMTextBlockExt TextPath="Step_BalanceAndOthers_Balance_GROUP_SANXUAT_NAME" Margin="2" FontWeight="Bold"/>
                <StackPanel Name="Panel_SanXuat" Margin="2">

                </StackPanel>
                <StackPanel Margin="2" Orientation="Horizontal" HorizontalAlignment="Right" >
                    <Button Margin="2" Name="Button_AddNew_SanXuat" >
                        <Button.Content>
                            Add new
                        </Button.Content>
                    </Button>
                </StackPanel>
            </StackPanel>
            
            <StackPanel>
                <vmcontrol:VMTextBlockExt TextPath="Step_BalanceAndOthers_Balance_GROUP_NHANVIEN_NAME" Margin="2" FontWeight="Bold"/>
                <StackPanel Name="Panel_NhanVien" Margin="2">

                </StackPanel>
                <StackPanel Margin="2" Orientation="Horizontal" HorizontalAlignment="Right" >
                    <Button Margin="2"  Name="Button_AddNew_NhanVien" >
                        <Button.Content>
                            Add new
                        </Button.Content>
                    </Button>
                </StackPanel>
            </StackPanel>

            <StackPanel>
                <vmcontrol:VMTextBlockExt TextPath="Step_BalanceAndOthers_Balance_GROUP_TAICHINH_NAME" Margin="2" FontWeight="Bold"/>
                <StackPanel Name="Panel_TaiChinh" Margin="2">

                </StackPanel>
                <StackPanel Margin="2" Orientation="Horizontal" HorizontalAlignment="Right" >
                    <Button Margin="2"  Name="Button_AddNew_TaiChinh" >
                        <Button.Content>
                            Add new
                        </Button.Content>
                    </Button>
                </StackPanel>
            </StackPanel>

           
        </StackPanel>
    </ScrollViewer>
</UserControl>
